package action;

import java.util.Date;
import java.util.List;

import dao.DaoFactory;
import dao.UserDao;

import entity.User;

public class CommonTags {
	private String name;
	private List<User> users; 
	private Date date;

	public String execute() throws Exception{
		name="hean";
		date= new Date();
		users=DaoFactory.getInstance(UserDao.class).findAll();
		return "success";
	}
	
	public String getName() {
		return name;
	}

	public List<User> getUsers() {
		return users;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
}
